<template>
  <view class="planList">
    <PlanItem v-for="(item, index) in list" :key="index" :taskDetail="item" />
  </view>
</template>

<script>
import PlanItem from "../../../components/plan/PlanItem.vue";
export default {
  name: "PlanList",
  props: {
    list: {
      type: Array,
      required: true,
    },
  },
  components: {
    PlanItem,
  },
};
</script>

<style lang="scss" scoped>
.planList {
  width: 45vw;
}
</style>
